package com.demo.service;

import com.demo.entity.User;
import com.demo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by hui on 2017/12/4.
 */

@Service
public class UserService{
    @Autowired
    private UserMapper userMapper;

    public User getUserInfo() {
        return userMapper.findUserInfo();
    }
}
